package no.la58.scribbles.client.services;

import no.la58.scribbles.shared.GetScribbleRequest;
import no.la58.scribbles.shared.Scribble;
import no.la58.scribbles.shared.ScribbleList;
import no.la58.scribbles.shared.VoidMethodStatus;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface MessageServiceAsync {

    void broadcastScribble(Scribble scribble, AsyncCallback<VoidMethodStatus> callback);

    void getScribbles(GetScribbleRequest request, AsyncCallback<ScribbleList> callback);

}
